using Game.Actions;
using Game.Common;

namespace Game.Controller
{
    public class TurnAction : GameAction
    {
        readonly GameController _GameController;

        public TurnAction(
            GameController gameController)
        {
            _GameController = gameController;
        }

        protected override ActionResult Execute(
            GameTurn turn,
            Context context)
        {
            _GameController.ProcessTurn(turn);
            return null;
        }
    }
}